.class Lcom/waiqin365/lightapp/dailyreport/view/bn;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:I

.field final synthetic b:Lcom/waiqin365/lightapp/dailyreport/c/i;

.field final synthetic c:Lcom/waiqin365/lightapp/dailyreport/view/bk;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/dailyreport/view/bk;ILcom/waiqin365/lightapp/dailyreport/c/i;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bn;->c:Lcom/waiqin365/lightapp/dailyreport/view/bk;

    iput p2, p0, Lcom/waiqin365/lightapp/dailyreport/view/bn;->a:I

    iput-object p3, p0, Lcom/waiqin365/lightapp/dailyreport/view/bn;->b:Lcom/waiqin365/lightapp/dailyreport/c/i;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 7

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bn;->c:Lcom/waiqin365/lightapp/dailyreport/view/bk;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/bk;->c(Lcom/waiqin365/lightapp/dailyreport/view/bk;)I

    move-result v0

    iget v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bn;->a:I

    if-ne v0, v1, :cond_1

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    invoke-static {}, Lcom/waiqin365/lightapp/dailyreport/view/bk;->a()J

    move-result-wide v2

    sub-long/2addr v0, v2

    const-wide/16 v2, 0x7d0

    cmp-long v0, v0, v2

    if-gez v0, :cond_0

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/bk;->a(J)J

    :goto_0
    return-void

    :cond_0
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/bk;->a(J)J

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bn;->b:Lcom/waiqin365/lightapp/dailyreport/c/i;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/dailyreport/c/i;->g:Z

    if-eqz v0, :cond_2

    iget-object v6, p0, Lcom/waiqin365/lightapp/dailyreport/view/bn;->c:Lcom/waiqin365/lightapp/dailyreport/view/bk;

    new-instance v0, Lcom/waiqin365/compons/view/c;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bn;->c:Lcom/waiqin365/lightapp/dailyreport/view/bk;

    invoke-static {v1}, Lcom/waiqin365/lightapp/dailyreport/view/bk;->b(Lcom/waiqin365/lightapp/dailyreport/view/bk;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/dailyreport/view/bn;->c:Lcom/waiqin365/lightapp/dailyreport/view/bk;

    invoke-static {v2}, Lcom/waiqin365/lightapp/dailyreport/view/bk;->b(Lcom/waiqin365/lightapp/dailyreport/view/bk;)Landroid/content/Context;

    move-result-object v2

    const v3, 0x7f0806b1

    invoke-virtual {v2, v3}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/dailyreport/view/bn;->c:Lcom/waiqin365/lightapp/dailyreport/view/bk;

    invoke-static {v3}, Lcom/waiqin365/lightapp/dailyreport/view/bk;->b(Lcom/waiqin365/lightapp/dailyreport/view/bk;)Landroid/content/Context;

    move-result-object v3

    const v4, 0x7f0801fd

    invoke-virtual {v3, v4}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    sget v4, Lcom/waiqin365/compons/view/c;->c:I

    new-instance v5, Lcom/waiqin365/lightapp/dailyreport/view/bo;

    invoke-direct {v5, p0}, Lcom/waiqin365/lightapp/dailyreport/view/bo;-><init>(Lcom/waiqin365/lightapp/dailyreport/view/bn;)V

    invoke-direct/range {v0 .. v5}, Lcom/waiqin365/compons/view/c;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;ILcom/waiqin365/compons/view/d;)V

    invoke-static {v6, v0}, Lcom/waiqin365/lightapp/dailyreport/view/bk;->a(Lcom/waiqin365/lightapp/dailyreport/view/bk;Lcom/waiqin365/compons/view/c;)Lcom/waiqin365/compons/view/c;

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bn;->c:Lcom/waiqin365/lightapp/dailyreport/view/bk;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/bk;->d(Lcom/waiqin365/lightapp/dailyreport/view/bk;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->show()V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bn;->c:Lcom/waiqin365/lightapp/dailyreport/view/bk;

    iget v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bn;->a:I

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/bk;->a(Lcom/waiqin365/lightapp/dailyreport/view/bk;I)I

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/bk;->a(J)J

    goto :goto_1

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/bn;->c:Lcom/waiqin365/lightapp/dailyreport/view/bk;

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/bn;->b:Lcom/waiqin365/lightapp/dailyreport/c/i;

    iget-object v1, v1, Lcom/waiqin365/lightapp/dailyreport/c/i;->a:Ljava/lang/String;

    const-string/jumbo v2, "1"

    iget v3, p0, Lcom/waiqin365/lightapp/dailyreport/view/bn;->a:I

    invoke-static {v0, v1, v2, v3}, Lcom/waiqin365/lightapp/dailyreport/view/bk;->a(Lcom/waiqin365/lightapp/dailyreport/view/bk;Ljava/lang/String;Ljava/lang/String;I)V

    goto :goto_0
.end method
